<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta charset="utf-8">
<link rel="stylesheet" href="<%=basePath%>script/jquery-ui-1.10.4/themes/base/jquery.ui.all.css">
<script src="<%=basePath%>script/jquery-ui-1.10.4/jquery-1.10.2.js"></script>
<script src="<%=basePath%>script/jquery-ui-1.10.4/ui/jquery.ui.core.js"></script>
<script src="<%=basePath%>script/jquery-ui-1.10.4/ui/jquery.ui.widget.js"></script>
<script src="<%=basePath%>script/jquery-ui-1.10.4/ui/jquery.ui.tabs.js"></script>
<link rel="stylesheet" href="<%=basePath%>script/jquery-ui-1.10.4/demos/demos.css">
<script>
$(function() {
	$( "#tabs" ).tabs({
		heightStyle: "fill",
		beforeLoad: function( event, ui ) {
			ui.jqXHR.error(function() {
				ui.panel.html( "载入标签页失败！" );
			});
		}
	});
});
</script>
</head>
<body>
<div id="tabs">
	<ul>
		<li><a href="jsp/content/address_page.jsp">通讯录</a></li>
		<li><a href="jsp/content/sent_page.jsp">已发送</a></li>
		<li><a href="jsp/content/accepted_page.jsp">已接收</a></li>
	</ul>
</div>
</body>
</html>
